const express = require('express');
const app = express();
const port = 3000;

app.get('/', (req, res) => {
  const html = 'hello world';
  res.send(`
    <!DOCTYPE html>
    <html>
      <head>
        <title>Vue SSR Example</title>
      </head>
      <body>
        <div id="app"><button>按钮</button></div>
      </body>
    </html>
    `);
});

app.listen(port, () => {
  console.log(`Example app listening on port ${port}`);
});
